package io.clayton.miep.utils;

/**
 * 系统常量。
 */
public class SystemConstants {

	/**
	 * 登录用户
	 */
	public static final String LOGINUSERS = "LOGINUSERS";
	
	/**
	 * 失败标示
	 */
	public static final int ERROR = 500;
	
	/**
	 * 成功标示
	 */
	public static final int SUCCESS = 200;
	
	
	/**
	 * 公告状态	0--->未发布
	 */
	public static final String STATUS_0 = "0";
	
	/**
	 * 公告状态	1--->已发布
	 */
	public static final String STATUS_1 = "1";

	/**
	 * 公司logo
	 */
	public static final String LOGO_FILEPATH = "/resources/logo/";

	/**
	 * 默认学生角色编码
	 */
	public static final String ROLE_STU_DEFAULT = "RG999";
	
	/**
	 * 默认老师角色编码
	 */
	public static final String ROLE_TEACH_DEFAULT = "RG905";
	
	/**
	 * 登录地址
	 */
	public static final String LOGIN_PATH = "/login/login.jsp";
	
	public static final String ERROR_PAGE = "errorPage";

	/* Web应用根路径 */
	public static final String REAL_PATH = "REAL_PATH";

	/* Web ContextPath */
	public static final String ROOT_PATH = "ROOT_PATH";

	/* Servlet Path */
	public static final String CORE_PATH = "CORE_PATH";
	
	/*登录不过滤的url*/
	public static final String ESCAPE_URL = "ESCAPE_URL";
	
}
